acg_auth_def_type

SoftwareShield COM-Activator™ Component > COM-Activator™ Reference > ACG_AUTH_DEF_TYPE

## ACG_AUTH_DEF_TYPE

The ACG_AUTH_DEF_TYPE enumeration is used in the DecodeARC function as a reference parameter to allow you determine what type of parameter a particular Authorization Definition takes (which was in turn determined from an Authorization Request Code).

enum ACG_AUTH_DEF_TYPE

{

ADT_CHANGEEXPIRY = 1001,

ADT_RELEASEALLEXPIRY = 1002,

ADT_RESETEXPIRY = 1003,

ADT_ADDEXECUTIONS = 1004,

ADT_ADDAUTHORIZEDSYSTEM = 1005,

ADT_RECOVER = 1006,

ADT_GENERALUSE = 1007,

ADT_CHANGEEXPIREPERIODDURATION = 1008,

ADT_DEACTIVATELICENSE = 1009,

ADT_RUNTIMECOMPOSITE = 1010,

ADT_DESIGNTIMECOMPOSITE = 1011,

ADT_REACTIVATELIC = 1012

};

A particular ACG_AUTH_DEF_TYPE value indicates the type of the Authorization Definition associated with an Authorization Request Code.

#### ACG_AUTH_DEF_TYPE Meaning:

ADT_CHANGEEXPIRY: Indicates that the associated definition is the Change Expire Period Duration type.

ADT_RELEASEALLEXPIRY: Indicates that the associated definition is the Release All Expiration type.

ADT_RESETEXPIRY: Indicates that the associated definition is the Reset Expire Period type.

ADT_ADDEXECUTIONS: Indicates that the associated definition is the Add Allowable Executions type.

ADT_ADDAUTHORIZEDSYSTEM: Indicates that the associated definition is the Release Copy Protection type.

ADT_RECOVER: Indicates that the associated definition is the Recover License type.

ADT_GENERALUSE: Indicates that the associated definition is the General Use type.

ADT_CHANGEEXPIREPERIODDURATION: Indicates that the associated definition is the Change Expire Period Duration type.

ADT_DEACTIVATELICENSE: Indicates that the associated definition is the Deactivate License type.

ADT_RUNTIMECOMPOSITE: Indicates that the associated definition is the Run-Time Composite type.

ADT_DESIGNTIMECOMPOSITE: Indicates that the associated definition is the Design Time Composite type.

ADT_REACTIVATELIC: Indicates that the associated definition is the Reactivate License type.

Note: The COM Activator only comes with the Enterprise, Internet and Server Editions of the SoftwareShield DRM Kit.